// 标签配置
export interface TagConfig {
  label: string
  value: string | number
  type?: 'success' | 'warning' | 'info' | 'primary' | 'danger'
  effect?: 'dark' | 'light' | 'plain'
  size?: 'large' | 'default' | 'small'
  closable?: boolean
  disabled?: boolean
  icon?: string
}

// 标签组配置选项
export interface TagGroupOptions {
  tags: TagConfig[]
  max?: number
  closable?: boolean
  effect?: 'dark' | 'light' | 'plain'
  size?: 'large' | 'default' | 'small'
  showAll?: boolean
  showCount?: boolean
}

// 标签组事件
export interface TagGroupEvents {
  'tag-click': (tag: TagConfig) => void
  'tag-close': (tag: TagConfig) => void
  'tag-select': (tags: TagConfig[]) => void
}
